package com.gy.componit;

import com.gy.game.Game;

import java.awt.*;

/**
 * @author Dsy
 * @create 2022-02-03  5:09
 */
public interface Component {

    void paint(Graphics g);

    AreaPoint getAreaPoint(int areaSize);

    void move(Game game);

    int getOrder();
}
